home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / fac151.zip / FAC.DOC < prev    next >
Text File  |  1991-09-26  |  76KB  |  1,621 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.                           Find Area Code (FAC), Version 1.50
  13.                         Copyright 1990-91, All Rights Reserved
  14.  
  15.                           Developed and Marketed as Shareware
  16.                                           by
  17.                                    Michael K. Molloy
  18.                                8531 East Dry Creek Place
  19.                                  Englewood, CO  80112
  20.                                 CompuServe: 72737,3237
  21.  
  22.  
  23.                                  _______
  24.                             ____|__     |                (R)
  25.                          --|       |    |-------------------
  26.                            |   ____|__  |  Association of
  27.                            |  |       |_|  Shareware
  28.                            |__|   o   |    Professionals
  29.                          -----|   |   |---------------------
  30.                               |___|___|    MEMBER
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.                        D I S C L A I M E R  -  A G R E E M E N T
  40.  
  41.                  If you use Find Area Code (FAC), you must accept this
  42.               disclaimer of warranty:  "Find Area Code is supplied as is.
  43.               The author disclaims all warranties, expressed or implied,
  44.                    including, without limitation, the warranties of
  45.               merchantability and of fitness for any purpose. The author
  46.               assumes no liability for damages, direct or consequential,
  47.                    which may result from the use of Find Area Code."
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.         Find Area Code Documentation
  62.  
  63.  
  64.                              F I N D   A R E A   C O D E
  65.  
  66.                               D O C U M E N T A T I O N
  67.  
  68.                                   Table of Contents
  69.  
  70.                      o Introduction
  71.                      o What is Shareware?
  72.                      o The Association of Shareware Professionals (ASP)
  73.                      o Registration
  74.                      o What Do I Get for Registering, and Why Should I?
  75.                      o Installation
  76.                      o Using FAC from the DOS Command Line
  77.                      o The External Data File
  78.                      o Adding to the External Data File
  79.                      o Using FAC as a Popup TSR Program
  80.                      o What Are Swapping TSRs?
  81.                      o Advanced Options and Configuration
  82.                      o Error Conditions
  83.                      o Technical/Compatibility Notes
  84.                      o How to Reach the Author
  85.                      o Alternative Uses
  86.                      o Final Remarks
  87.                      o Quick Reference List of FAC Options
  88.  
  89.  
  90.  
  91.        Introduction
  92.        ------------
  93.  
  94.        Find Area Code (FAC) is an DOS utility which can quickly locate U.S.
  95.        and international telephone area codes.  FAC performs its search using
  96.        any part of an area code, city, state, or country and shows matches
  97.        almost instantly.  The program can also do "fuzzy" searches, allowing
  98.        you to use approximate spellings to find matches.
  99.  
  100.        FAC uses an ASCII data file (FAC.DAT) which you can change, update, or
  101.        add to whenever you like.  There are more than 2000 United States,
  102.        Canadian, and international cities in the database.  Also, without
  103.        leaving the program, you can append data to an external data file, using
  104.        a default or file name you specify.
  105.  
  106.        You can run FAC from the DOS command line or you can make it memory
  107.        resident (also known as a popup or Terminate and Stay Resident [TSR]
  108.        program).  When you install FAC as a memory resident program, you can
  109.        choose between a small (7K RAM) swapping version with a very short (less
  110.        than 2 seconds) delay while it swaps into memory from disk, or you can
  111.        have an instantly available popup which requires more RAM.  The swapping
  112.        version can also (optionally) use Expanded Memory (EMS) for almost
  113.        instantaneous swapping.
  114.  
  115.        The program automatically senses and supports all of the 25/43/50 line
  116.        modes used in most CGA/EGA/VGA video cards and pops up in the current
  117.        mode, using the screen most appropriately for that mode.  Also, FAC
  118.  
  119.        September 14, 1991                                           Page 2 of 27
  120.  
  121.         Find Area Code Documentation
  122.  
  123.  
  124.        senses the current color/monochrome mode and selects its colors
  125.        appropriately.  FAC's window can be moved around on the screen by using
  126.        the cursor keys.  You can also "zoom" FAC's window to use the full screen
  127.        or allow the program to do so whenever required.
  128.  
  129.  
  130.        What is Shareware?
  131.        ------------------
  132.  
  133.        Although you may not have paid anything to get this copy of FAC, it is
  134.        not a free program.  It is distributed on a "shareware" basis.  What's
  135.        that?
  136.  
  137.        Shareware is a form of distribution which gives users a chance to try
  138.        software before buying it. If you try a Shareware program and continue
  139.        to use it, you are expected to register.  Individual programs differ on
  140.        details -- some request registration while others require it, some
  141.        specify a maximum trial period.  With registration, you get anything
  142.        from the simple right to continue using the software to an updated
  143.        program with printed manual.
  144.  
  145.        Copyright laws apply to both Shareware and commercial software, and the
  146.        copyright holder retains all rights, with a few specific exceptions as
  147.        stated below.  Shareware authors are accomplished programmers, just like
  148.        commercial authors, and the programs are of comparable quality. (In both
  149.        cases, there are good programs and bad ones!)  The main difference is in
  150.        the method of distribution.  The author specifically grants the right to
  151.        copy and distribute the software, either to everyone, or to a specific
  152.        group.  For example, some authors require written permission before a
  153.        commercial disk vendor may copy their Shareware.
  154.  
  155.        Shareware is a distribution method, not a type of software.  You should
  156.        find software that suits your needs and pocketbook, whether it's
  157.        commercial or Shareware.  The Shareware system makes fitting your needs
  158.        easier, because you can try before you buy.  And because the overhead is
  159.        low, prices are low also.  Shareware has the ultimate money-back
  160.        guarantee -- if you don't use the product, you don't pay for it.
  161.  
  162.        Find Area Code (FAC) is a "shareware program" and is provided at no
  163.        charge to you for your evaluation.  Feel free to share it with your
  164.        friends, but please do not give it away altered or as part of another
  165.        system.  The essence of "user-supported" software is to provide personal
  166.        computer users with quality software without high prices, and yet to
  167.        provide incentive for programmers to continue to develop new products.
  168.  
  169.        Shareware works!  In addition to using many commercial products, I'm a
  170.        also a registered user of many high quality shareware products,
  171.        including:  PKWare's PKZIP, Vern Buerg's LIST, SemWare's QEdit Advanced
  172.        2.1, California Software Design's SHEZ, ECONO-SOFT's Directory eXtended
  173.        (DX), PC-*.*'s PC-TAX90, John Steed's Brother's Keeper, and Falk Data
  174.        System's Easy Format.  Please register shareware you continue to use.
  175.  
  176.        Please read the important information in the accompanying file,
  177.        LICENSE.DOC on the trial license for this program.  For more information
  178.  
  179.        September 14, 1991                                           Page 3 of 27
  180.  
  181.         Find Area Code Documentation
  182.  
  183.  
  184.        on shareware, please read the accompanying file SHR-WARE.DOC.
  185.  
  186.  
  187.        The Association of Shareware Professionals (ASP)
  188.        ------------------------------------------------
  189.  
  190.        Michael K. Molloy is a member of the Association of Shareware
  191.        Professionals (ASP).  ASP wants to make sure that the shareware principle
  192.        works for you.  If you are unable to resolve a shareware-related problem
  193.        with an ASP member by contacting the member directly, the ASP may be able
  194.        to help.  The ASP Ombudsman can help you resolve a dispute or problem
  195.        with an ASP member, but does not provide technical support for members'
  196.        products.  Please write to the ASP Ombudsman at 545 Grover Road, Muskegon
  197.        MI 49442-9427 or send a Compuserve message via CompuServe Mail to ASP
  198.        Ombudsman 70007,3536.
  199.  
  200.  
  201.        Registration
  202.        ------------
  203.  
  204.        If you find FAC useful and you continue to use it after a reasonable (45
  205.        days) trial period, you are required to make a registration payment of
  206.        $17.95 plus $2.00 shipping and handling (U.S.) to Michael K. Molloy.
  207.        The $17.95 registration fee will license one copy for use on any one
  208.        computer at any one time.  Even after registering, you have a money-back
  209.        guarantee for 90 days after purchase.
  210.  
  211.        You must treat a registered version of this software just like a book.
  212.        Just as a book cannot be read by two different persons at the same time,
  213.        this software may be used by any number of people and may be freely moved
  214.        from one computer location to another, as long as there is no possibility
  215.        of it being used in two different locations at the same time.
  216.  
  217.        Commercial users of Find Area Code (FAC) must register and pay for their
  218.        copies of the program within 45 days of first use or their license is
  219.        withdrawn.  For site-license information, see the file SITELICE.DOC.
  220.  
  221.        You are encouraged to pass (unregistered) copies of Find Area Code along
  222.        to your friends for evaluation.  Please encourage them to register their
  223.        copy if they find that they can use it.  All registered users will
  224.        receive a copy of the latest version of FAC when they register.
  225.  
  226.        Though the program is not "crippled" in anyway, this shareware version
  227.        shows an "Unregistered Shareware" status message in the lower right part
  228.        of the window to encourage you to register the program.  Also,
  229.        unregistered versions will give you a random (about 10% of the time),
  230.        bypassable registration reminder when you exit.  Naturally, the
  231.        registered version of the program doesn't have this.
  232.  
  233.        FAC is one of many area code finder utility programs, but I think you'll
  234.        find it is unsurpassed in speed, ease of use, convenience, and price.
  235.        As far as I know, it is the ONLY area code finder capable of being
  236.        installed as a 7K memory resident program.  Please fill out the included
  237.        registration order form (file REGISTER.DOC) and send in your registration
  238.  
  239.        September 14, 1991                                           Page 4 of 27
  240.  
  241.         Find Area Code Documentation
  242.  
  243.  
  244.        today.  You can send REGISTER.DOC to your printer by typing:
  245.  
  246.                      "COPY REGISTER.DOC PRN"  (without the quotes)
  247.  
  248.        and then pressing ENTER while at the MS-DOS prompt.
  249.  
  250.  
  251.        What Do I Get for Registering, and Why Should I?
  252.        ------------------------------------------------
  253.  
  254.        When you register, you'll receive a disk with the latest version of the
  255.        program and a utility to stamp your serial number on all future versions
  256.        of the program.  Once you have registered FAC, you are always entitled
  257.        to the latest version at anytime.  You can download the latest version
  258.        from CompuServe, a BBS, or other computer service or I'll send you the
  259.        latest release for a small handling charge.  You can either send me a
  260.        SASE floppy mailer with your floppy, or just send me $4.00 and I'll
  261.        furnish the floppy, mailer, and postage.
  262.  
  263.        Here are some reasons why you should register:
  264.  
  265.          o You receive a CURRENT copy of the program, fresh from the author's
  266.            computer.
  267.  
  268.          o You get a LIFETIME license, meaning you're entitled to all future
  269.            versions/upgrades of FAC.
  270.  
  271.          o You get unlimited technical support via surface mail or electronic
  272.            mail.
  273.  
  274.          o You have the author's ear when it comes to suggesting new features
  275.            and capabilities.
  276.  
  277.          o You help increase competition in the software industry by keeping
  278.            prices low (shareware doesn't rely on expensive advertising).
  279.  
  280.          o Finally, you can be proud of the honesty and integrity you've shown
  281.            in registering the program and having participated in the Shareware
  282.            revolution.
  283.  
  284.  
  285.        Installation
  286.        ------------
  287.  
  288.        The Find Area Code distribution file is now created using PKZip's
  289.        Authenticity Verification (AV) feature.  This virtually guarantees BBSs
  290.        and users virus-free, unmodified files.  If after unzipping your
  291.        distribution files you don't see the message:
  292.  
  293.             "Authentic files Verified!   # EOA070   MICHAEL K. MOLLOY"
  294.  
  295.        you've have a modified distribution file.  Get another copy of the ZIP
  296.        file from me, CompuServe, another BBS, or another Disk Vendor.
  297.  
  298.  
  299.        September 14, 1991                                           Page 5 of 27
  300.  
  301.         Find Area Code Documentation
  302.  
  303.  
  304.        Once you've unzipped the distribution file, you can put Find Area Code's
  305.        files in any directory.  The FAC.EXE and FAC.DAT files can be anywhere on
  306.        the disk as long as you set a path to them with the DOS PATH statement.
  307.        Note that FAC.DAT need not be in the same directory as FAC.EXE as long
  308.        they are both on the PATH.  For example, if you put FAC's files in the
  309.        C:\UTIL directory, you would need to have a PATH statement in your
  310.        AUTOEXEC.BAT file which might look something like this:
  311.  
  312.                        PATH=C:\;C:\DOS;C:\MISC;C:\UTIL;C:\MENU
  313.  
  314.        You need at least 120K of disk space and 140K RAM to run the program from
  315.        the DOS prompt (non-TSR mode).  To use the program as a swapping TSR,
  316.        you must either have: an additional 265K of free disk space (hard disk
  317.        recommended); or 265K of expanded memory (EMS).
  318.  
  319.        Actually, FAC.EXE is the only you must have on your path.  If you are
  320.        running FAC from the same directory where FAC.DAT resides, FAC.DAT need
  321.        not be on your PATH.
  322.  
  323.        ------------------ For Registered Users Only -------------------------
  324.  
  325.        When you register FAC, you'll receive an additional program which is
  326.        used to "stamp" a registered serial number on your copy (and all future
  327.        copies) of your program.  Stamping the serial number also removes the
  328.        "Unregistered Shareware" reminder in the lower right part of the window.
  329.  
  330.        To run this program, type "STAMP-SN" at the DOS prompt, and press
  331.        ENTER.  You'll be asked for the name of the EXE file to modify (since
  332.        FAC.EXE could be renamed to whatever you want).  If you're using
  333.        FAC.EXE, just press ENTER.  If the file is found on the PATH, it will be
  334.        stamped with a serial number identified with your registration.  Be SURE
  335.        to save your copy of STAMP-SN.EXE so you can use it with future releases
  336.        of FAC.
  337.  
  338.        If you're a user of various executable-file compression utilities like
  339.        LZEXE, PKLITE, or EXEPACK, you MUST run STAMP-SN on the unmodified
  340.        (uncompressed) original file BEFORE you use on of these utilities.  If
  341.        you try to run STAMP-SN on a compressed EXE file, you'll be unable to
  342.        stamp the serial number.
  343.  
  344.        If you are a registered user of FAC, you MAY NOT give anyone a copy of
  345.        the serial number stamped program, nor may you give anyone the
  346.        STAMP-SN.EXE program.
  347.  
  348.        ----------------------------------------------------------------------
  349.  
  350.  
  351.        Using FAC from the DOS Command Line
  352.        -----------------------------------
  353.  
  354.        First, you must know how to invoke FAC from the DOS command line
  355.        prompt.  Type "FAC /H" (or "FAC /?" or "FAC /" or "FAC ?") then press
  356.        ENTER and you'll see a complete list of options you have for using FAC.
  357.        Don't be alarmed at all the options.  FAC is very simple to use and
  358.  
  359.        September 14, 1991                                           Page 6 of 27
  360.  
  361.         Find Area Code Documentation
  362.  
  363.  
  364.        really requires only one thing--a string to search for. All the options
  365.        are for more advanced use.  FAC is designed to be very easy to use
  366.        without reference to documentation or help screens.
  367.  
  368.        FAC will immediately search for area code information if you enter the
  369.        search string as an DOS parameter after the program name.  If you
  370.        wish, you can simply type "FAC" to start the program without a
  371.        parameter.  You'll be prompted for a search string once inside the
  372.        program.  For example, suppose you wanted to know the area code for
  373.        Boulder, Colorado.
  374.  
  375.        At the DOS prompt, type: "FAC boulder" (without the quotes, of course)
  376.        then press ENTER.  The program will start, a window will popup on the
  377.        screen, and the program automatically begins its search.  Almost
  378.        instantly, you'll see information about the area code for Boulder.  The
  379.        first column in the display window has the 3 digit area code 303
  380.        (international area codes aren't necessarily 3 digits).  The next column
  381.        shows the 2 character postal abbreviation for Colorado, CO.  The third
  382.        column shows the full name of the state.  The last column shows the major
  383.        cities in this particular area code.  Notice Boulder appears in this
  384.        list.  When you've finished with the program, just press Esc and you'll
  385.        exit back to DOS.
  386.  
  387.        Let's take another example.  Suppose someone leaves you a note to call
  388.        someone in a 309 area code.  You don't recognize this area code and it's
  389.        inconvenient to look up the area code in the phone book. You type "FAC
  390.        309" then press ENTER.  Almost instantly, you learn that the 309 area
  391.        code includes Peoria, Moline, and Rock Island, Illinois.
  392.  
  393.        Searching for an international area code is almost exactly the same.
  394.        Just type in a city name, say Paris.  The program will display the
  395.        country code in the first column, the country name in the next column
  396.        (there is no postal abbreviation for most foreign countries), and a list
  397.        of major cities and city codes for that country in the last column.  Each
  398.        city code is listed in parentheses immediately after the city name.  If
  399.        you searched for Paris, you would know the country code for France is 33
  400.        and the city code for Paris is 1.
  401.  
  402.        Anytime you see a city name in all CAPITAL letters, that city is a state
  403.        or country capital.
  404.  
  405.        You get the idea.  By typing "FAC X" where X is any alphanumeric string,
  406.        you can quickly search the area code database.  You can search by area
  407.        code, state postal abbreviation, state name, country, city, or any
  408.        portion of thereof.  The search string can be in any combination of upper
  409.        or lower case letters and numbers. and must be at least two characters.
  410.        If you use only two characters, the program assumes you want to search
  411.        for two-letter state postal abbreviations which appear only in the first
  412.        7 characters of each line.  The program doesn't look at anything else on
  413.        the line except these first 7 characters.  Note: this restriction does
  414.        not apply to the data in the external data file (see the section below on
  415.        The External Data File).
  416.  
  417.        After you've performed a search, the last string searched for is shown
  418.  
  419.        September 14, 1991                                           Page 7 of 27
  420.  
  421.         Find Area Code Documentation
  422.  
  423.  
  424.        after the prompt.  To enter a new string, just start typing it in (the
  425.        old string will go away when you press the first character). You can also
  426.        edit the existing string by using the following keys:
  427.  
  428.            Left Arrow       - Cursor left one character
  429.            Right Arrow      - Cursor right one character
  430.            Ctrl-Left Arrow  - Cursor left one word
  431.            Ctrl-Right Arrow - Cursor right one word
  432.            Home             - Cursor to the beginning of the string
  433.            End              - Cursor to the end of the string
  434.            Del              - Delete the character under the cursor
  435.            BkSp             - Delete the character the left of the cursor
  436.            Ctrl-Y           - Delete the entire string
  437.            Ctrl-End         - Delete from the cursor to the end of the string
  438.            Ctrl-Home        - Delete from start of line to the cursor
  439.            Ctrl-T           - Delete word to the right of the cursor
  440.            Ins              - Toggle between Overwrite and Insert mode
  441.            Ctrl-R           - Restore the original contents of the line
  442.            ENTER            - Start searching for the specified string
  443.  
  444.        Search strings are limited to 20 characters.  Spaces entered at the
  445.        beginning and end of the search string are ignored (and discarded), but
  446.        spaces anywhere else in the string are valid.  This means you could
  447.        search for "San Francisco" but not for " San Francisco ".
  448.  
  449.        You can make any number of searches before exiting the program.
  450.        Remember, just press Esc to exit the program (Ctrl-C or Ctrl-Break will
  451.        also exit).
  452.  
  453.        While you're inside FAC, you can get brief help by pressing F1. This
  454.        shows you that F1 gets help, F2 toggles the "Fuzzy" search mode, F5
  455.        prompts you for new data to add to an external data file, F9 toggles the
  456.        AutoZoom screen size feature, F10 toggles screen zooming, and Esc exits
  457.        the program.  You can reposition FAC's window up and down on the screen
  458.        by pressing the up and down arrow keys.
  459.  
  460.        Sometimes, your search string will find more information than can be
  461.        displayed in the window.  If the screen fills up with information, the
  462.        program will pause and prompt you to press the Esc key to stop
  463.        displaying information from the current search, or press any other key
  464.        to continue displaying information.  If you press Esc to stop displaying
  465.        information, you'll be returned to FAC's prompt.  Pressing Esc once more
  466.        will exit the program.
  467.  
  468.        If FAC doesn't find a match for your search string in its data file,
  469.        you'll see a brief message in the center of the window saying that the
  470.        string couldn't be found.  You can then edit the search string if you
  471.        wish.
  472.  
  473.        Once you've experimented with FAC, you may notice that sometimes it pops
  474.        up in the upper half of your screen and sometimes it pops up in the lower
  475.        half.  Why?  FAC looks at where the cursor is positioned and brings up
  476.        the FAC window in the opposite half of the screen you're working in.
  477.        This insures the program doesn't obscure something you may need to see
  478.  
  479.        September 14, 1991                                           Page 8 of 27
  480.  
  481.         Find Area Code Documentation
  482.  
  483.  
  484.        while you're using the program.
  485.  
  486.        The other thing you may have noticed is that FAC pops up in whatever mode
  487.        (25, 43, or 50 lines) your video card is in.  FAC automatically checks to
  488.        see how many lines you're using at the moment and adjusts its windows
  489.        accordingly.  FAC isn't designed to support 40 column mode, but will
  490.        safely pop up (although you won't like what you see).  FAC won't popup at
  491.        all when you're in graphics mode.
  492.  
  493.        One final note on using FAC from the command line.  You can "redirect"
  494.        the output from the program's status messages and so forth by using
  495.        standard MS-DOS redirection conventions.  For example, if you didn't
  496.        want info on the program's installation to appear on the screen while
  497.        booting up, you could install FAC like this:
  498.  
  499.                                     FAC /I >NUL
  500.  
  501.        When FAC installs, you wouldn't see messages from the program at all.
  502.  
  503.        If you want to, you could use the redirection capability to send FAC
  504.        status messages to a file or to the printer.
  505.  
  506.               FAC -H >FILENAME.EXT   This would send help info to FILENAME.EXT
  507.               FAC -H >PRN            This would send help info to the printer
  508.  
  509.        PLEASE NOTE:  If you redirect FAC's output to a file when you install it
  510.        as a memory resident program, that file remains "open" and is not
  511.        "released" back to MS-DOS normally until you uninstall FAC using the /U
  512.        option (or until you reboot your computer).  This is normally not a
  513.        problem, but could be if you had an extreme number of files open.  If
  514.        you have problems, try using a larger FILES entry in your CONFIG.SYS
  515.        file (if you're currently using FILES=24, try using FILES=28).  Again,
  516.        this is only when you redirect output when installing FAC as a TSR.
  517.  
  518.        You cannot redirect any of the windows or output from the running
  519.        program.
  520.  
  521.  
  522.        The External Data File
  523.        ----------------------
  524.  
  525.        FAC uses its own data file, FAC.DAT to store area code information so
  526.        that you can search for it.  This file contains ASCII text which you can
  527.        modify to update or correct area codes, or for any other purpose.  Many
  528.        users use FAC to keep track of their own personal information (see the
  529.        section toward the end of this document on Alternative Uses).  Beginning
  530.        with FAC Version 1.50, your data can be stored in a data file external to
  531.        the FAC.DAT file.  This allows you to maintain your own file of
  532.        information and keep it separate from the area codes in the FAC.DAT file.
  533.  
  534.        The default external data file, MY-DATA.DAT is automatically searched if
  535.        it exists in: the directory you're currently PATHed to; the directory
  536.        where FAC.EXE resides; or elsewhere on the path defined by the DOS PATH
  537.        statement most people have in their AUTOEXEC.BAT file.  If a line in the
  538.  
  539.        September 14, 1991                                           Page 9 of 27
  540.  
  541.         Find Area Code Documentation
  542.  
  543.  
  544.        MY-DATA.DAT file contains the string you're searching for, it will be
  545.        displayed in FAC's window after the FAC.DAT file is searched.  Text found
  546.        in the external data file will be displayed in dimmer characters than
  547.        text found in the FAC.DAT file so you'll know where the information came
  548.        from.
  549.  
  550.        If you specify a different external data file via the /D switch (see
  551.        Advanced Options and Configuration), the specified file will be searched
  552.        instead of the MY-DATA.DAT file.  This file can be anywhere on the disk,
  553.        but if it isn't in one of the places where FAC looks for MY-DATA.DAT, you
  554.        must use the /D switch to specify the full disk, directory and file name.
  555.  
  556.        The external data file can contain any text you wish.  This can be a file
  557.        you create, or it can be a pre-existing file like a BBS listing.  FAC
  558.        expects the file to be "line-oriented".  This means that if you're
  559.        searching a text document for two words which are on different lines, FAC
  560.        won't be able to find the line.
  561.  
  562.  
  563.        Adding to the External Data File
  564.        --------------------------------
  565.  
  566.        You can add your own information to the external data file in two ways.
  567.        You can use a text editor or word processor to create and maintain the
  568.        file, or you can you use FAC's internal capability to add data to the
  569.        external data file.
  570.  
  571.        If you use an editor to create or modify the external data file, you must
  572.        adhere to two rules: 1) you must save the file in pure ASCII format; and
  573.        2) each line must not exceed 119 characters.  You can add your
  574.        information anywhere in the file in any order.  Once you've added a line
  575.        to the file, FAC will be able to search for that information if the file
  576.        is the default or specified external data file.
  577.  
  578.        While using FAC, you can press F5 to add a new line of data to the end of
  579.        the default or specified external data file.  Just press F5, and you'll
  580.        see a status message indicating you're adding data.  On the bottom line
  581.        of the window, you'll see a prompt for the new data to add.  Type in the
  582.        line of information at the prompt and press ENTER when you're satisfied
  583.        with the way the information looks.  You can use the same keys, described
  584.        above, to edit this line as you use to edit the search string.  You'll
  585.        automatically be limited to 119 characters.  If MY-DATA.DAT doesn't
  586.        exist, the file will be created in the same directory which contains
  587.        FAC.EXE.  If you specified an external data file with /D, the file must
  588.        already exist, or the program won't start.
  589.  
  590.        When you press ENTER, you'll see a status message that the new data was
  591.        added to either the default or specified external data file.  Now you can
  592.        search for the information.  Press F5 to add another line of information
  593.        to the external data file.
  594.  
  595.        When you add data to the external data file, your information is appended
  596.        to the very end of the file--it isn't sorted in any way.  If you want the
  597.        file sorted, use a separate utility like Vern Buerg's excellent SORTF.COM
  598.  
  599.        September 14, 1991                                           Page 10 of 27
  600.  
  601.         Find Area Code Documentation
  602.  
  603.  
  604.        (current version as of this date is SORTF235.ZIP).  Note that it really
  605.        isn't necessary to have the file sorted since the entire file is searched
  606.        each time.  Even you don't know where something is in the file when you
  607.        edit it, you can always use your editor's search function to find the
  608.        line you want.
  609.  
  610.  
  611.        Using FAC as a Popup TSR Program
  612.        --------------------------------
  613.  
  614.        More often than not, when you're at your computer and you need area code
  615.        information, you're in the middle of doing something else.  To use FAC
  616.        as described above, you must save your work, exit the program you're
  617.        using, then invoke FAC.  FAC would tell you what you need to know, then
  618.        you would have to restart your original program, go back to where you
  619.        left off, and try to go back to work.
  620.  
  621.        It would be much more convenient if you could simply have FAC
  622.        immediately "popup" over whatever you're doing, give you the information
  623.        you need, then go away, leaving you exactly where you were.  Not only
  624.        would it be more convenient, it would save a lot of your valuable time.
  625.  
  626.        FAC can do this.  All you have to do is tell FAC to install itself as a
  627.        "popup" or memory resident program.
  628.  
  629.        You'll also see this type of program called a TSR, which stands for
  630.        Terminate & Stay Resident.  A TSR is installed or loaded once from the
  631.        DOS command line.  It stays in memory even while you're doing other
  632.        things, and watches to see when you press a special key or key sequence
  633.        to activate it.  This special key sequence is known as a "hotkey".  When
  634.        you press the hotkey, the program starts.
  635.  
  636.        Here's how to install FAC as a memory resident, popup program.  At the
  637.        DOS prompt, type: "FAC /I" (without the quotes) then press ENTER.  FAC
  638.        will then install itself in memory as a TSR.  When it has successfully
  639.        installed itself, it will describe how it has been installed.  In this
  640.        case, you will use FAC's defaults.
  641.  
  642.        Once you've installed FAC as described above, you can press FAC's hotkey
  643.        to pop it up wherever you are.  FAC's hotkey is <Alt><LeftShift><F>.  To
  644.        press this key sequence, press and hold the "Alt" key, press and hold
  645.        the Shift key on the left side of your keyboard, then press the F key.
  646.        As soon as all three keys are pressed, FAC will "wakeup" and activate
  647.        itself.
  648.  
  649.        FAC will draw its window on the screen right over the top of whatever
  650.        you're doing.  Don't worry.  When FAC is done, it will return the screen
  651.        to exactly the way it found it.
  652.  
  653.        When you invoke the TSR version of FAC as installed above, it works
  654.        somewhat differently than it does when you start it from the DOS prompt.
  655.        Recall that when you run the program from the DOS prompt, you must enter
  656.        a parameter (search string) so FAC knows what to search for. When FAC
  657.        operates as a TSR, it can read the text string (state, area code, city,
  658.  
  659.        September 14, 1991                                           Page 11 of 27
  660.  
  661.         Find Area Code Documentation
  662.  
  663.  
  664.        etc.) you want to search for right off the screen by looking
  665.        at the word "under" or to the left of where you have the cursor
  666.        positioned!  (You can turn off reading the search string from the screen
  667.        by using the /G switch.  See Advanced Options and Configuration.)  If
  668.        the cursor isn't in a word or just to the right of a word, no search
  669.        string will be passed to FAC, but it will still pop up.  Reading the
  670.        search string from the screen can save you time typing in what to search
  671.        for and it can avoid errors you might make while typing.
  672.  
  673.        So, what happens?  You press the hotkey, FAC pops up over your work,
  674.        reads the text "under" the cursor, and immediately begins its search.
  675.        After it finds and displays a match, it prompts you for another search.
  676.        Now the program operates exactly the way it does when used from the
  677.        DOS prompt.
  678.  
  679.        If you use the up/down arrow keys to reposition the normal FAC window,
  680.        the position you choose will be retained the next time you press the
  681.        hotkey.  Note that this means that because you've repositioned the
  682.        window, it may pop up and obscure text near the cursor.  If this is a
  683.        problem or you want to "reset" window positioning to pop up in the
  684.        opposite half of the screen from the cursor, just press F10 (once if you
  685.        are zoomed, twice if you aren't zoomed) and the automatic positioning
  686.        will be restored.
  687.  
  688.        You can press F10 to zoom FAC's window to take up the full screen, and
  689.        the program will "remember" to pop up in this mode the next time you
  690.        press the hotkey.
  691.  
  692.        When you want to exit, press Esc, and FAC will collapse its window, and
  693.        restore your screen and cursor location exactly the way it appeared when
  694.        you pressed the hotkey.
  695.  
  696.        If you want to uninstall FAC as a memory resident program (TSR), you
  697.        have two choices.  You can uninstall FAC from the command line by using
  698.        the /U switch, or you can press Alt-U twice while inside FAC's window.
  699.        After you press Alt-U a second time, the program will exit and will
  700.        uninstall itself from memory.
  701.  
  702.  
  703.        What Are Swapping TSRs?
  704.        -----------------------
  705.  
  706.        You may have noticed that when you pressed the hotkey, a reverse video
  707.        message appeared on the bottom of the screen which said "Swapping in..."
  708.        Similarly, when you pressed Esc to exit the program, "Swapping out..."
  709.        appeared.  These messages tell you the program is swapping into and out
  710.        of memory (RAM) from disk or expanded memory (EMS).  Why does the program
  711.        do this?
  712.  
  713.        Swapping TSRs are relatively new.  When they install, they take a
  714.        snapshot of the complete program and write it out to a "swap file" on
  715.        disk (or use EMS memory), then free up all but a tiny portion of memory
  716.        (which holds the portion of the program which watches for the hotkey and
  717.        then does the actual swapping to/from disk).  When swapping TSRs pop up
  718.  
  719.        September 14, 1991                                           Page 12 of 27
  720.  
  721.         Find Area Code Documentation
  722.  
  723.  
  724.        over your existing program, they may also have to take a snapshot of
  725.        your application and write it to disk or EMS memory before it swaps the
  726.        rest of the TSR in. So why do we want to put up with all this swapping
  727.        in and out? Doesn't this cause delays?  Why can't the program just pop
  728.        up instantly like my other TSRs?
  729.  
  730.        Well, like everything else in the world, there are tradeoffs.  In order
  731.        to run full-featured, advanced programs, it takes memory (RAM).  The
  732.        more full-featured the program, the more memory it takes. Unfortunately,
  733.        memory is a limited resource and "full-featured" often translates to
  734.        "memory-hungry."  FAC has many features but still only requires about
  735.        128K of RAM to run.  This isn't a problem if FAC is the only program you
  736.        want to run, but it's a big problem if you want FAC to be loaded as a
  737.        TSR at the same time you're running other (full-featured) programs.
  738.  
  739.        When FAC is installed as a swapping TSR, it only requires about 7K of
  740.        RAM to watch for you to press the hotkey and then swap what you're doing
  741.        out and swap itself in.  With all the other TSRs you use and the other
  742.        programs you run, you need all the help you can get.  The TSR swapping
  743.        technology FAC uses helps you optimize all the memory you have with very
  744.        little impact on how you use the program.  As computers continue to
  745.        become faster and more powerful, you'll see more and more swapping TSRs.
  746.  
  747.        The time you spend waiting on swapping is relatively trivial compared to
  748.        the time it takes to leave your application, then return.  On even the
  749.        slowest computers, swapping delays are only about 1 or 2 seconds.  On
  750.        faster computers using EMS memory for swapping, the TSR can pop up
  751.        instantaneously, for all practical purposes.  Of course swapping delays
  752.        can be affected by a wide range of hardware and software variables.
  753.        Fast hard disks with 1:1 interleaves and high data transfer rates make a
  754.        huge difference, even when used on an 808X CPU.  If you're able to use
  755.        EMS memory, RAM Disk, or disk caching (hardware or software) you'll find
  756.        swapping delays to be negligible or even unmeasurable.  See the section
  757.        below on Advanced Options and Configuration for information on how to
  758.        reduce swapping delays.
  759.  
  760.        The bottom line: I think the tradeoffs (swapping delays) are completely
  761.        acceptable given the tremendous savings in your precious RAM. I think
  762.        you'll think so, too!
  763.  
  764.  
  765.        Advanced Options and Configuration
  766.        ----------------------------------
  767.  
  768.        FAC has several different options or "switches" you can use to customize
  769.        the way FAC works when you invoke the program or install it as a popup.
  770.        Again, FAC is designed to be very easy to use, and you may be perfectly
  771.        happy with FAC's performance when you use its default options.
  772.  
  773.        Switch options are always preceded by either a "/" or a "-" and can be
  774.        upper or lower case letters.  Remember, to see a complete list of all
  775.        FAC's options, just type "FAC /H" at the DOS prompt and press ENTER.
  776.        Here's a quick summary of FAC's switches:
  777.  
  778.  
  779.        September 14, 1991                                           Page 13 of 27
  780.  
  781.         Find Area Code Documentation
  782.  
  783.  
  784.            /A     Don't make disk swap files hidden/system file(s); (with /I)
  785.            /B     Don't use color attributes; use monochrome attributes
  786.            /D     Use the specified file for the external data file
  787.            /E     Don't use EMS memory for swapping (use disk); (with /I)
  788.            /F     Enables "fuzzy search" mode
  789.            /G     Don't read text from screen on popup; (with /I)
  790.            /H     Show a list and description of the various switch options
  791.            /I     Loads popup/TSR with defaults
  792.            /M     Suppresses swapping messages; (with /I)
  793.            /N     No swapping; (with /I)
  794.            /P     Path for swap files; used (with /I)
  795.            /T     Don't use the AutoZoom feature
  796.            /U     Unload popup from memory, if possible
  797.            /X     Don't use exploding windows
  798.            /Z     Use a "zoomed" window which uses the full screen
  799.  
  800.        Most of these switches can be used in either of two ways: 1) as command
  801.        line switches, entered when the program is run; or 2) entered as part of
  802.        an environment variable called "FAC". If you wanted the program to use
  803.        the fuzzy search mode, you could simply enter  "FAC bolder /f" and the
  804.        search would take place, using the fuzzy search.  But, what if you
  805.        wanted FAC to ALWAYS start in (default to) fuzzy mode?  This is where
  806.        the FAC environment variable would be used.  Use the SET command to
  807.        assign a string to the FAC environment variable:
  808.  
  809.                                       SET FAC=/f
  810.  
  811.        If you entered this before running FAC or had this line in your
  812.        AUTOEXEC.BAT file, FAC would always start in fuzzy mode without having
  813.        to enter it on the command line when you start the program.
  814.  
  815.        Suppose you always wanted FAC to use fuzzy search mode, zoomed windows,
  816.        non-exploding windows, and when installed as a TSR: no swapping messages
  817.        with a swap file path of d:\temp and without getting search strings from
  818.        the screen.  Instead of entering each of these switches each time you
  819.        run the program, you would use the following environment variable entry,
  820.        preferably in your AUTOEXEC.BAT file:
  821.  
  822.                          SET FAC=/f /Z -x /M -pd:\temp /g
  823.                                   ^  ^  ^  ^  ^         ^
  824.        Fuzzy mode ----------------|  |  |  |  |         |
  825.        Zoomed window ----------------+  |  |  |         |
  826.        Non-exploding window ------------+  |  |         |
  827.        Swapping messages off --------------+  |         |
  828.        Swap path -----------------------------+         |
  829.        Don't get search string from screen -------------+
  830.  
  831.        Now, every time FAC is run the above settings will be the defaults. If
  832.        you install the program as a TSR, these settings will be the default
  833.        settings unless you change them after invoking the program with the
  834.        hotkey.  If you change them while TSR, that change will remain effective
  835.        until the next time you change it.
  836.  
  837.        Note the use of both a slash and dash as switch characters and the mixed
  838.  
  839.        September 14, 1991                                           Page 14 of 27
  840.  
  841.         Find Area Code Documentation
  842.  
  843.  
  844.        use of upper and lower characters.  You can use all FAC option switches
  845.        in the SET FAC environment variable except /I and /U.  You can use any
  846.        combination of switches in any order.  Invalid switch settings will be
  847.        ignored.  If you enter a swap path with the /P switch, it will be
  848.        checked for validity prior to program execution.
  849.  
  850.        The following is a complete description of all FAC option switches listed
  851.        in alphabetical order.
  852.  
  853.  
  854.        The "/A" Switch
  855.        ---------------
  856.  
  857.        When used with /I (and when disk is used for swapping), uses swap files
  858.        with "normal" file attributes rather than hidden/system attributes.  Can
  859.        be used in the FAC environment variable.
  860.  
  861.        The /A switch says, "When FAC is installed as a TSR using disk for
  862.        swapping, don't use hidden/system attributes on the swap file(s)."  This
  863.        switch allows you to control the file attribute used on the swap files.
  864.  
  865.        NOTE: If you use this switch, be SURE not to delete the swap file(s)
  866.        while FAC is memory resident (TSR).  If this file isn't present when the
  867.        program tries to swap itself in, you'll probably have to reboot your
  868.        computer to recover.
  869.  
  870.        The default is to use hidden/system attributes on the swap file(s) when
  871.        swapping to disk.  This switch does nothing if EMS is being used.
  872.  
  873.        Example: "FAC /I /A"
  874.  
  875.        In this example (if EMS wasn't available), the swap files would have
  876.        normal attributes instead of hidden/system attributes.
  877.  
  878.  
  879.        The "/B" Switch
  880.        ---------------
  881.  
  882.        Used for both non-TSR and TSR.  Can be used in the FAC environment
  883.        variable.
  884.  
  885.        This option or program "switch" applies to FAC when run from the DOS
  886.        prompt (non-memory resident mode) or when you install it as a popup.  If
  887.        you use the "/B" switch, FAC will use only black and white (monochrome)
  888.        attributes for its text and window displays.  If you have a monochrome
  889.        system, FAC will normally be able to detect this and automatically use
  890.        monochrome attributes.  If you use a system which has a color card,
  891.        running in color mode, but have a monochrome monitor, you should use the
  892.        /B switch or use the DOS MODE command (e.g., MODE BW80).  You may also
  893.        want to use the /B switch if you have a laptop or notebook computer with
  894.        a liquid crystal display (LCD).
  895.  
  896.        The default is to use color attributes if you system is using the color
  897.        mode.
  898.  
  899.        September 14, 1991                                           Page 15 of 27
  900.  
  901.         Find Area Code Documentation
  902.  
  903.  
  904.  
  905.        If you want to disable the use of color attributes when you run the
  906.        program from the DOS command line (non-TSR), just put the /B switch after
  907.        your search parameter.
  908.  
  909.        Example:  "FAC City /B"
  910.  
  911.        When the program starts, the window and its contents would start out
  912.        using monochrome or black and white screen attributes.
  913.  
  914.  
  915.        The "/D" Switch
  916.        ---------------
  917.  
  918.        Used when FAC is run from the command line or when it's installed as a
  919.        TSR.  Can be used in the FAC environment variable.
  920.  
  921.        The /D switch, when followed by a filename specification, says,
  922.        "use the specified file name as the external data file to search or add
  923.        information to."  The file specification must be a valid, already
  924.        existing file on your system and must reside in: the current directory,
  925.        the directory where FAC.EXE resides, or in a directory defined by the DOS
  926.        PATH statement.  If the file doesn't exist, or can't be found, FAC will
  927.        abort with an error message.  If you know the file exists, make sure it
  928.        is one of the three places described above.  If the file doesn't exist,
  929.        you must create it.  To create a new file, use a text editor or use
  930.  
  931.                              COPY CON FILENAME.EXT <ENTER>
  932.  
  933.        then type in text to be entered in the file.  When you're done, press F6
  934.        to create the end of file marker then press ENTER to save the file.
  935.  
  936.        The default is to use the file MY-DATA.DAT.
  937.  
  938.        Examples: "FAC /Dstuff.txt"
  939.  
  940.        This example would start up FAC using the file STUFF.TXT as the external
  941.        data file instead of the default, MY-DATA.DAT.
  942.  
  943.  
  944.        The "/E" Switch
  945.        ---------------
  946.  
  947.        When used with /I; don't use Expanded Memory (EMS) when it's available.
  948.        Can be used in the FAC environment variable.
  949.  
  950.        The /E switch says, "even if EMS memory is present, don't grab it and
  951.        use it for swapping--use disk instead."  This switch prevents the
  952.        program from automatically allocating your EMS memory.  Note that using
  953.        EMS memory greatly speeds up swapping; you should use it if possible.
  954.  
  955.        The default is to use EMS memory for swapping.
  956.  
  957.        Example: "FAC /I /E"
  958.  
  959.        September 14, 1991                                           Page 16 of 27
  960.  
  961.         Find Area Code Documentation
  962.  
  963.  
  964.  
  965.        This example disables the use of EMS memory for swapping when FAC is
  966.        installed as a TSR.
  967.  
  968.  
  969.        The "/F" Switch
  970.        ---------------
  971.  
  972.        Used for both non-TSR and TSR.  Can be used in the FAC environment
  973.        variable.
  974.  
  975.        The /F switch says, "Use a 'fuzzy' search method which doesn't require
  976.        an exact spelling to get a match."  When you use the /F switch, you tell
  977.        the program to use a powerful text matching technique called the soundex
  978.        algorithm.  Soundex searches attempt to match words based on the way
  979.        they sound rather than by how they're spelled.  If you aren't sure how a
  980.        city, state, or country is spelled, or you're getting a 'not found'
  981.        message with the string you're using, try the /F switch.
  982.  
  983.        There is a price to pay for the soundex searching method: speed.
  984.        Searches may take up to 10 times as long as normal "exactly spelled"
  985.        searches, but this is well worthwhile if it's the only way you can find
  986.        what you're looking for.  You may also get a lot more seemingly
  987.        unrelated "hits" from a fuzzy search, but this is normal.  After all,
  988.        you're looking for anything that remotely resembles or sounds like your
  989.        search string.
  990.  
  991.        Since fuzzy searches take longer, you may need to stop the search before
  992.        it completes.  You can press any key during the fuzzy search and it will
  993.        stop and return to the program's prompt.
  994.  
  995.        Once you're inside FAC, you can use the F2 key to toggle between normal
  996.        searching and fuzzy searches (there's an indicator on in the top center
  997.        of the window frame when you're in fuzzy mode).  If you've installed FAC
  998.        as memory resident program, the program will remember whether you were
  999.        in fuzzy mode the last time you used it.
  1000.  
  1001.        Examples: "FAC Colorawdo /f" "FAC springfeild /f"
  1002.  
  1003.        In both these examples, the program would immediately start searching
  1004.        for the specified strings, but the 'Fuzzy Search' indicator would be on
  1005.        at the top center of the window frame, and you would also see a flashing
  1006.        message telling you the search is in progress.  The first example would
  1007.        give you "hits" for Colorado, even though it's misspelled.  The second
  1008.        example would find three instances of Springfield as you might expect,
  1009.        but also yields Palm Springs, Steamboat Springs, Colorado Springs, and
  1010.        Big Spring.
  1011.  
  1012.  
  1013.        The "/G" Switch
  1014.        ---------------
  1015.  
  1016.        When used with /I; don't get search strings from the screen in TSR mode.
  1017.        Can be used in the FAC environment variable.
  1018.  
  1019.        September 14, 1991                                           Page 17 of 27
  1020.  
  1021.         Find Area Code Documentation
  1022.  
  1023.  
  1024.  
  1025.        The /G switch says, "When you popup FAC, don't read the text to search
  1026.        for off the user's screen; just ask for a string."  This switch prevents
  1027.        you from grabbing the search string from the screen and requires you to
  1028.        enter it yourself.
  1029.  
  1030.        The default is to read the screen for the text to search for.
  1031.  
  1032.        Example: "FAC /I /G"
  1033.  
  1034.        This example disables reading the text from the screen when FAC is
  1035.        popped up.
  1036.  
  1037.  
  1038.        The "/I" Switch
  1039.        ---------------
  1040.  
  1041.        Used to install FAC as a swapping or non-swapping TSR.  Can NOT be used
  1042.        in the FAC environment variable.
  1043.  
  1044.        The /I switch says, "Install FAC as a memory resident program using its
  1045.        defaults and/or other switches." If you use /I by itself, the program
  1046.        will install itself using several predefined defaults, all of which can
  1047.        be changed by using other switches.
  1048.  
  1049.        If you use /I alone to install FAC, the following defaults are used:
  1050.  
  1051.          - Swapping to disk is enabled unless sufficient EMS memory is found.
  1052.          - Messages which tell you swapping is happening are enabled.
  1053.          - Disk swap files will be hidden/system files.
  1054.          - The disk and directory path FAC uses for swap files is the same
  1055.            disk/directory where FAC found FAC.DAT.
  1056.          - AutoZoom is on.
  1057.          - Exploding windows are enabled (see the /X switch above).
  1058.  
  1059.        After you use the /I switch to install FAC, you will see a status
  1060.        message which describes the state of each of the above defaults.
  1061.  
  1062.        Note that if FAC is already installed, you won't be able to install a
  1063.        second copy.  If you try to install it again, you'll get an error
  1064.        message and the installation will abort.
  1065.  
  1066.        If you don't have enough disk space for the swap files, you'll get an
  1067.        error message and FAC won't install as a TSR.
  1068.  
  1069.        After you install FAC as a TSR, don't move or rename the FAC.DAT file or
  1070.        you will probably get dumped from the TSR when you try to use it.
  1071.  
  1072.        Please note that you can't pop up FAC when you're using a program which
  1073.        is currently in graphics mode.  If you try to pop it up, you'll hear a
  1074.        beep and nothing else will happen.
  1075.  
  1076.        Also, be aware that since FAC swaps the currently running program out so
  1077.        it can become active, you could have a problem with some programs,
  1078.  
  1079.        September 14, 1991                                           Page 18 of 27
  1080.  
  1081.         Find Area Code Documentation
  1082.  
  1083.  
  1084.        especially communications programs.  In this case, you should run the
  1085.        program in non-swapping mode (/N).  It still isn't advisable to pop up
  1086.        any TSR when a communications program if data is coming in or going out.
  1087.  
  1088.        FAC should work fine with most other TSRs.  The only problem you may
  1089.        encounter is when you don't load FAC last among other TSRs.  This won't
  1090.        hurt anything, but you may not have access to your other TSRs when FAC
  1091.        is swapped in (since it may have swapped the other TSR(s) out of RAM).
  1092.        If FAC isn't in use, or it's been installed as a non-swapping TSR, you
  1093.        shouldn't have a problem with TSRs loaded after it.
  1094.  
  1095.        Don't attempt to install FAC while you're "shelled out" of other
  1096.        programs.  For example, you can drop temporarily to DOS from many
  1097.        programs, but you should never try to install FAC while you're doing so.
  1098.        This also applies to many menu programs like PowerMenu and AutoMenu.
  1099.        These programs can leave a portion of themselves in memory.  You should
  1100.        never try to install FAC as a TSR from any menu program.  Completely
  1101.        exit from any other program before attempting to install FAC as a TSR.
  1102.        You may run FAC from the DOS prompt (non-TSR) while shelled out of
  1103.        another program if you wish.
  1104.  
  1105.        Example:  "FAC /I"
  1106.  
  1107.        This would install FAC as a TSR with the defaults described above.
  1108.  
  1109.  
  1110.        The "/M" Switch
  1111.        ---------------
  1112.  
  1113.        Used with /I when installing FAC as a swapping TSR.  Can be used in the
  1114.        FAC environment variable.
  1115.  
  1116.        The /M switch says, "don't put the swapping in/out... messages at the
  1117.        bottom of the screen when swapping."  The program doesn't work any
  1118.        differently, except that you won't see the messages.  If you use EMS
  1119.        memory (the default if you have EMS installed), or a RAM disk for
  1120.        swapping, the swapping messages might be an unnecessary distraction.
  1121.  
  1122.        The default is to have swapping messages appear.
  1123.  
  1124.        Example: "FAC /I /M"
  1125.  
  1126.        This would install FAC as a swapping TSR, but swapping messages would be
  1127.        disabled.
  1128.  
  1129.        
  1130.        The "/N" Switch
  1131.        ---------------
  1132.  
  1133.        Used with /I to install FAC as a non-swapping TSR.  Can be used in the
  1134.        FAC environment variable.
  1135.  
  1136.        The /N switch says, "NO swapping; don't use the swapping TSR mode; keep
  1137.        the entire TSR in RAM."  This will give you instant access to FAC when
  1138.  
  1139.        September 14, 1991                                           Page 19 of 27
  1140.  
  1141.         Find Area Code Documentation
  1142.  
  1143.  
  1144.        you press the hotkey, but requires about 140K of RAM.  If you have
  1145.        plenty of RAM, need FAC to be available instantly, and use programs which
  1146.        won't miss the memory FAC requires in this mode, use the /N switch.
  1147.  
  1148.        The default is a swapping TSR.
  1149.  
  1150.        Example:  "FAC /I /N"
  1151.  
  1152.        This would install FAC as a non-swapping TSR.
  1153.  
  1154.  
  1155.        The "/P" Switch
  1156.        ---------------
  1157.  
  1158.        Used with /I when installing FAC as a swapping TSR.  Can be used in the
  1159.        FAC environment variable.
  1160.  
  1161.        The /P switch, when followed by a complete path specification, says,
  1162.        "put the swap files in the specified disk/directory."  The path
  1163.        specification must be a valid, already existing disk/directory, and must
  1164.        be less than 127 characters.  Do not put a backslash on the end of the
  1165.        path specification (unless you're using the root directory of the
  1166.        specified disk).  In other words, use the same format for the /P path
  1167.        specification that you would for a normal DOS PATH statement.
  1168.  
  1169.        The main reason you would use this switch would be to tell FAC to use a
  1170.        RAM disk. If you have a RAM disk, with at least 250K of space, you
  1171.        should use the /P switch to significantly speed up swapping.  If you use
  1172.        /P to swap to RAM disk, you may wish to use the /M switch to disable the
  1173.        swapping in/out messages.
  1174.  
  1175.        It's highly inadvisable to use a removable (floppy) disk for the swap
  1176.        path.  You won't harm anything, but you could lock up your machine and
  1177.        have to reboot if the disk isn't there when swapping needs to occur.
  1178.  
  1179.        Whether you use the /P option or not, FAC generates either one or two
  1180.        swap files, named FAC-SWP1.$$$ and FAC-SWP2.$$$, each about 130K in size,
  1181.        located wherever FAC.DAT was found (unless you specify otherwise with the
  1182.        /P switch).  These files are marked with both System and Hidden
  1183.        attributes to make it less likely you will accidentally delete them
  1184.        unless you use the /A option).  If they are deleted after FAC is loaded,
  1185.        and you try to pop up the program, you'll get an error message and you'll
  1186.        have to reboot.  When you successfully unload FAC, the swap files are
  1187.        deleted.  If you reboot or turn your machine off, the file(s) will
  1188.        remain, but will be written over the next time FAC is loaded as a TSR.
  1189.  
  1190.        The default is to put swap files in the same disk/directory where
  1191.        FAC.DAT was found.  If you aren't sure where this is, run FAC with no
  1192.        parameters and look at the default determined by the program at run
  1193.        time.
  1194.  
  1195.        Examples: "FAC /I /Pd:" "FAC /I /Pc:\junk
  1196.  
  1197.                  "FAC /I /Pc:\temp\" <=== WRONG!! No backslash after the path!
  1198.  
  1199.        September 14, 1991                                           Page 20 of 27
  1200.  
  1201.         Find Area Code Documentation
  1202.  
  1203.  
  1204.  
  1205.        The first example would install FAC as a swapping TSR with the swap
  1206.        files located on the D: drive.  The second example would use a swap file
  1207.        directory called C:\JUNK.  The third example is an invalid path name and
  1208.        would give an error.
  1209.  
  1210.  
  1211.        The "/T" Switch
  1212.        ---------------
  1213.  
  1214.        Used for both non-TSR and TSR.  Can be used in the FAC environment
  1215.        variable.
  1216.  
  1217.        This option or program "switch" applies to FAC when run from the DOS
  1218.        prompt (non-memory resident mode) or when you install it as a popup.  If
  1219.        you use the "/T" switch, FAC will disable its use of the AutoZoom
  1220.        screen-sizing feature.  If you use this option, it means that when a
  1221.        large number of lines needs to be displayed, the screen won't
  1222.        automatically zoom to full size to show you as much text as possible.
  1223.  
  1224.        The default is to use the AutoZoom feature.
  1225.  
  1226.        If you want to disable the AutoZoom feature when you run the program from
  1227.        the DOS command line (non-TSR), just put the /T switch after your
  1228.        search parameter.
  1229.  
  1230.        Example:  "FAC City /T"
  1231.  
  1232.        When the program starts, the window would start out at the half size and
  1233.        then, when the window fills up with area code information containing the
  1234.        word "city," the program would pause instead of automatically zooming to
  1235.        full screen.
  1236.  
  1237.        
  1238.        The "/U" Switch
  1239.        ---------------
  1240.  
  1241.        Attempts to uninstall FAC (in TSR mode) from memory, and delete swap
  1242.        files, if they exist.  Can NOT be used in the FAC environment variable.
  1243.  
  1244.        The /U switch says, "If it is safe to do so, remove FAC from RAM as a
  1245.        swapping or non-swapping TSR, free up associated memory, and delete any
  1246.        swap files which may have been created."  Use the /U switch if you need
  1247.        to uninstall the program.  "If it is safe to do so" means just that.  If
  1248.        FAC isn't installed as the last TSR, you won't be able to uninstall it.
  1249.        (You may be able to uninstall FAC by using something like the
  1250.        Mark/Release TSRCOM utilities, but even then, you must remove FAC and
  1251.        all TSRs loaded after it.  If you plan to frequently uninstall FAC you
  1252.        should load it last.  Of course if you load FAC last, then you won't be
  1253.        able to unload TSRs loaded before it.  Naturally, you can uninstall any
  1254.        TSR by rebooting your machine.
  1255.  
  1256.        Example: "FAC /U"
  1257.  
  1258.  
  1259.        September 14, 1991                                           Page 21 of 27
  1260.  
  1261.         Find Area Code Documentation
  1262.  
  1263.  
  1264.        This example would uninstall FAC if no other TSRs were installed after
  1265.        it.
  1266.  
  1267.        Note that you can also uninstall FAC from inside the program by pressing
  1268.        Alt-U twice in succession.
  1269.  
  1270.  
  1271.        The "/X" Switch
  1272.        ---------------
  1273.  
  1274.        Used for both non-TSR and TSR.  Can be used in the FAC environment
  1275.        variable.
  1276.  
  1277.        This option or program "switch" applies to FAC when run from the DOS
  1278.        prompt (non-memory resident mode) or when you install it as a popup.  If
  1279.        you use the "/X" switch, FAC will disable its use of exploding windows.
  1280.        Exploding windows don't change the way the program searches or the way
  1281.        you use it, it just changes how the program looks when it starts and
  1282.        finishes.
  1283.  
  1284.        If you want to disable exploding windows when you run the program from
  1285.        the DOS command line (non-TSR), just put the /X switch after your
  1286.        search parameter.
  1287.  
  1288.        Example:  "FAC boulder /x"
  1289.  
  1290.        When the program starts, the window would appear instantly on the screen
  1291.        instead of being exploded onto the screen.
  1292.  
  1293.  
  1294.        The "/Z" Switch
  1295.        ---------------
  1296.  
  1297.        Used for both non-TSR and TSR.  Can be used in the FAC environment
  1298.        variable.
  1299.  
  1300.        This option applies to FAC when run from the DOS prompt (non-memory
  1301.        resident mode) or when you install it as a popup.  If you use the "/Z"
  1302.        switch, FAC will "zoom" its window to take up the entire screen.
  1303.  
  1304.        Example:  "FAC TX /Z"
  1305.  
  1306.        When the program starts, the window takes up the entire screen.  You
  1307.        might want to use this option if you're viewing lists of area codes or
  1308.        all the area codes for one state.
  1309.  
  1310.  
  1311.        Error Conditions
  1312.        ----------------
  1313.  
  1314.        FAC is very friendly and shouldn't give error messages unless there's
  1315.        really something you need to fix.  Here are some error messages FAC
  1316.        could generate and why you might get them:
  1317.  
  1318.  
  1319.        September 14, 1991                                           Page 22 of 27
  1320.  
  1321.         Find Area Code Documentation
  1322.  
  1323.  
  1324.        - "Error while trying to find/open FAC.DAT"   Make sure FAC.DAT exists
  1325.           and that the disk and directory containing FAC.DAT is on your DOS
  1326.           path.
  1327.  
  1328.        - "XXXX is an invalid path name!"  You've specified an incorrect path
  1329.          when using the /P switch or the path you've specified is too long the
  1330.          limit is 127 characters)
  1331.  
  1332.        - "XXXX is an invalid file name!"  You've specified an incorrect file
  1333.          when using the /D switch.
  1334.  
  1335.        - "FAC isn't loaded!"  You've tried to uninstall FAC (as a TSR) when it
  1336.           wasn't previously loaded.  Use the /I option to install it.
  1337.  
  1338.        - "Unable to unload FAC.  Probably isn't safe to do so!"  This isn't
  1339.           really an error message; it just means that the program can't
  1340.           uninstall itself, probably because there's another TSR or program
  1341.           loaded after it. Try rebooting if you have to unload it.
  1342.  
  1343.        - "XXXX not found."  This, too, isn't really an error message. You'll
  1344.           get this message any time you searched for string and it wasn't
  1345.           found. The string you're searching for may not be in FAC.DAT or you
  1346.           may need to check your spelling.  Try the fuzzy search mode if you
  1347.           aren't sure of the spelling.
  1348.  
  1349.        - "FAC is already memory resident!"  You're trying to install FAC after
  1350.           it's already been loaded.  Use FAC /U to uninstall it.
  1351.  
  1352.        - "Unable to go TSR.  Do you have enough swap file disk space on X:?"
  1353.           This message means FAC couldn't go TSR, probably because you don't
  1354.           have enough RAM, or you don't have enough disk space for the swap
  1355.           files.
  1356.  
  1357.        - "Couldn't make window!"  There was a memory allocation error when FAC
  1358.           tried to draw its window.  You probably don't have enough RAM to run
  1359.           FAC.
  1360.  
  1361.  
  1362.        Technical/Compatibility Notes
  1363.        -----------------------------
  1364.  
  1365.        Find Area Code runs on IBM PC compatibles (clones) using DOS 3.XX and
  1366.        4.01, and MS-DOS 5.0.  I'm pretty sure the program won't work with DOS
  1367.        2.X since 2.X handles paths differently.  It might work if you're in the
  1368.        same directory as the data file.
  1369.  
  1370.        FAC is DESQview-aware in the sense that it will disable direct-screen
  1371.        writing when it detects the presence of DESQview.  FAC runs well in a
  1372.        small (160K) DESQview window.
  1373.  
  1374.        FAC is written mainly in Borland's Turbo Pascal 6.0.  One of the reasons
  1375.        the program searches so quickly is RLINE, Don Strenczewilk's excellent
  1376.        Turbo Pascal OOP text file handling unit.  RLINE allows you to define a
  1377.        "file of lines" object.  In addition, FAC can search at a rate of over
  1378.  
  1379.        September 14, 1991                                           Page 23 of 27
  1380.  
  1381.         Find Area Code Documentation
  1382.  
  1383.  
  1384.        800 lines per second on an XT with a slow hard disk, 2200 lines per
  1385.        second on a 386SX without caching and 3400 lines per second with caching!
  1386.        Thanks to Don for graciously donating his code to the public domain!
  1387.  
  1388.        The excellent TSR swapping system and windowing comes from Object
  1389.        Professional 1.1 from TurboPower Software.  If you do any programming
  1390.        in Turbo Pascal 6.0, you owe it to yourself to use Object Pro!
  1391.  
  1392.  
  1393.        How to Reach the Author
  1394.        -----------------------
  1395.  
  1396.                      Michael K. Molloy
  1397.                      8531 East Dry Creek Place
  1398.                      Englewood, CO  80112
  1399.                      CIS: 72737,3237
  1400.  
  1401.        CompuServe Information Service (CIS) is the best place to reach me, but
  1402.        I also frequent the MicroManiac!, Tom Gettys' fantastic Wildcat BBS
  1403.        (303-673-9470) in Lafayette, CO.  I would be happy to provide electronic
  1404.        support there, if you wish.  His board should always have the latest
  1405.        version of Find Area Code (and hundreds of other fresh uploads!).
  1406.  
  1407.  
  1408.        Alternative Uses
  1409.        ----------------
  1410.  
  1411.        You may have thought to yourself as you used FAC, "Hmmm, if I can pop
  1412.        FAC up anywhere as a tiny TSR, and if I can change the contents of the
  1413.        FAC.DAT file and the external data file, why can't I put my own personal
  1414.        information into it and quickly and conveniently search for it when I
  1415.        need it?" You can, and I hope you will.
  1416.  
  1417.        I think the ease of modifying FAC's database is a very valuable feature.
  1418.        In fact, one of the reasons I decided to write "yet another area code
  1419.        finder" was the frustration I had with the fact you couldn't modify,
  1420.        correct, update, or add to some of the other area code program data
  1421.        files.
  1422.  
  1423.        My own personal use of FAC goes far beyond just using it to hunt down
  1424.        area codes.  Here's what I do.
  1425.  
  1426.        I have (you probably do, too if you're any kind of computer nut) a
  1427.        database of friends and relatives with which I maintain a quick reference
  1428.        phone list.  Periodically, I use my database program to generate a report
  1429.        which I print to disk.  The report looks something like this:
  1430.  
  1431.        John Doe            555-555-5555  1234 Anywhere St., Anyplace, CO  12345
  1432.        Joe's Software Shop     555-1234  (open 24 hours)
  1433.        Jay's Hardware Emporium 555-9876  (Closes at 6pm)
  1434.        Jim Smith               555-0000  (Keep trying; has teenagers on phone)
  1435.        ...
  1436.        (you get the idea)
  1437.  
  1438.  
  1439.        September 14, 1991                                           Page 24 of 27
  1440.  
  1441.         Find Area Code Documentation
  1442.  
  1443.  
  1444.        I use an editor to paste the ASCII information into the MY-DATA.DAT file
  1445.        and presto, I have a 7K popup database of our family and friends.  I put
  1446.        the information at the front only to improve search times for the
  1447.        information I need most frequently; it can be anywhere, in any format, in
  1448.        any order since every character of the entire file is searched every
  1449.        time.
  1450.  
  1451.        Obviously, if you change the data file to reflect your own data, it
  1452.        could be used for almost anything.  Just remember, the program is
  1453.        line-oriented--all the information for one "record" must be on the same
  1454.        line.  Each line in the data file is limited to 119 characters.  If lines
  1455.        are longer than 119 characters, they'll be truncated when they are
  1456.        displayed.  The program will automatically wordwrap lines of up to 119
  1457.        characters when the "record" is displayed.
  1458.  
  1459.        I guess the way I use FAC makes it kind of a "poor man's personal
  1460.        information manager (PIM)".  I've found that FAC is far superior to LIST
  1461.        and other text file handling programs when it comes to ease of use and
  1462.        search speed.
  1463.  
  1464.        FAC certainly isn't offered as any kind of free format database package,
  1465.        but I think it bridges an important gap between a full-blown database
  1466.        application and a tattered piece of paper taped above your computer desk.
  1467.        I think this capability gives FAC significant "value added."  I hope you
  1468.        agree and see another reason to support the program with your
  1469.        registration.
  1470.  
  1471.        Use your imagination!  If you come up with radical or useful new
  1472.        applications for Find Area Code "engine", please let me know.
  1473.  
  1474.  
  1475.        Final Remarks
  1476.        -------------
  1477.  
  1478.        Many thanks to my wife, Bobbea, for her friendship, love, and support in
  1479.        every aspect of my life.  Thanks to Tom Gettys and George Clifford for
  1480.        their valuable beta test feedback and for having the best BBSs in
  1481.        Colorado!  Thanks to members of the Association of Shareware
  1482.        Professionals, especially Paul Mayer and Bob Falk for advice on shareware
  1483.        and for some of the boilerplate text for my documentation.
  1484.  
  1485.        I've made every effort to provide the correct area codes and foreign
  1486.        country city codes.  If you find errors or additions, please let me know.
  1487.  
  1488.        NOTE: Your registration and support for this program will enable me to
  1489.        continue to develop FAC and add other valuable features in future
  1490.        versions:
  1491.  
  1492.            - Capability to set user defaults (colors/hotkey/etc.)
  1493.            - Extended "record" length
  1494.            - Mouse support?
  1495.            - You tell me.
  1496.  
  1497.        If FAC doesn't do what you think it should, or you'd like for it to do
  1498.  
  1499.        September 14, 1991                                           Page 25 of 27
  1500.  
  1501.         Find Area Code Documentation
  1502.  
  1503.  
  1504.        something else, I would be happy to develop a customized version of the
  1505.        program for anyone who wants one (for a reasonable fee).  I'd appreciate
  1506.        bug reports, new feature requests, comments, performance problems,
  1507.        constructive criticism, suggestions, additions, and/or corrections
  1508.        regarding Find Area Code.
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.        September 14, 1991                                           Page 26 of 27
  1560.  
  1561.         Find Area Code Documentation
  1562.  
  1563.  
  1564.                       Quick Reference List of FAC Switch Options
  1565.                       ------------------------------------------
  1566.  
  1567.              /A               When used with /I & disk swapping, don't use
  1568.                               hidden/system attributes on swap files
  1569.  
  1570.              /B               Don't use color screen attributes; use monochrome
  1571.                               (black & white) only
  1572.  
  1573.              /Dfilename.ext   Use the specified file name as the external data
  1574.                               file to search/add to
  1575.  
  1576.              /E               When used with /I, don't use Expanded Memory (EMS)
  1577.                               even if it's available; use disk swapping
  1578.  
  1579.              /F               Enables "fuzzy search" mode to find sound-alike,
  1580.                               approximate spellings
  1581.  
  1582.              /G               When used with /I, don't read text from screen on
  1583.                               popup
  1584.  
  1585.              /H               Show a help screen of options & descriptions
  1586.  
  1587.              /I               Loads popup/TSR with defaults:
  1588.                                 - Swap using EMS memory (or disk if no EMS)
  1589.                                 - Swapping messages on
  1590.                                 - Swap files have hidden/system attributes
  1591.                                 - Swap file path = same path FAC.DAT found on
  1592.                                 - Exploding windows on
  1593.                                 - AutoZoom is On
  1594.                                 - Read search string from screen
  1595.  
  1596.              /M               When used with /I, loads popup; suppresses
  1597.                               swapping messages
  1598.  
  1599.              /N               When used with /I, loads popup; no swapping
  1600.                               (instant popup mode, but requires 140K RAM)
  1601.  
  1602.              /Pc:\temp        When used with /I, loads popup: path for swap
  1603.                               files = c:\temp; Specify RAM disk if possible
  1604.  
  1605.              /T               Don't use the AutoZoom feature (automatically
  1606.                               zooms to full screen when necessary)
  1607.  
  1608.              /U               If installed as a TSR, unloads popup from memory,
  1609.                               if possible; deletes swap files
  1610.  
  1611.              /X               Don't use exploding windows
  1612.  
  1613.              /Z               Use a "zoomed" window which uses the full screen
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.        September 14, 1991                                           Page 27 of 27
  1620.  
  1621.